#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "php.h"
#include "php_phnqbabel.h"
#include "Phnqlets.h"
// #include "Test.h"

static function_entry phnqbabel_functions[] = {
    PHP_FE(phnqbabel_world, NULL)
    {NULL, NULL, NULL}
};

zend_module_entry phnqbabel_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_PHNQBABEL_EXTNAME,
    phnqbabel_functions,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
#if ZEND_MODULE_API_NO >= 20010901
    PHP_PHNQBABEL_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_PHNQBABEL
ZEND_GET_MODULE(phnqbabel)
#endif

PHP_FUNCTION(phnqbabel_world)
{
	phnq::phnqlets::Processor p;
	
	std::cout << "biatchamoliols!!!" << std::endl;
	
	
    RETURN_STRING("Hello Phnq-Bubba World\n", 1);
}


